# Maintainer: Balló György <ballogyor+arch at gmail dot com>

_pkgname=fabulous
pkgname=python-fabulous
pkgver=0.4.0
pkgrel=4
pkgdesc='Print images, colors, and stylish text to the terminal with Python'
arch=('any')
url='https://github.com/jart/fabulous'
license=('Apache')
depends=('python')
makedepends=('python-setuptools')
source=("https://github.com/jart/$_pkgname/releases/download/$pkgver/$_pkgname-$pkgver.tar.gz")
sha256sums=('60ae547be786b5c19b555939453ea8c1e906b99a93847c8baa65e7154801d14a')

build() {
  cd $_pkgname-$pkgver
  python setup.py build
}

package() {
  cd $_pkgname-$pkgver
  python setup.py install --root="$pkgdir" --optimize=1 --skip-build
}
